home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / swingall.jar / javax / swing / SystemEventQueueUtilities$TimerQueueRestart.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-07-15  |  655 b   |  24 lines

  1. package javax.swing;
  2.  
  3. class SystemEventQueueUtilities$TimerQueueRestart implements Runnable {
  4.    boolean attemptedStart;
  5.  
  6.    public synchronized void run() {
  7.       if (!this.attemptedStart) {
  8.          TimerQueue var1 = TimerQueue.sharedInstance();
  9.          synchronized(var1){}
  10.  
  11.          try {
  12.             if (!var1.running) {
  13.                var1.start();
  14.             }
  15.          } catch (Throwable var4) {
  16.             throw var4;
  17.          }
  18.  
  19.          this.attemptedStart = true;
  20.       }
  21.  
  22.    }
  23. }
  24.